﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace FB.Providers
{
    public class AEInfoProviderConfiguration : ConfigurationSection
    {
        [ConfigurationProperty("providers")]
        public ProviderSettingsCollection Providers
        {
            get
            {
                return (ProviderSettingsCollection)base["providers"];
            }
        }


        [ConfigurationProperty("enabled", DefaultValue = "false")]
        public bool Enabled
        {
            get { return (bool)base["enabled"]; }
            set { base["enabled"] = value; }
        }


        [ConfigurationProperty("defaultProvider", DefaultValue = "EFAEInfoProvider")]
        public string Default
        {
            get { return base["defaultProvider"] as string; }
            set { base["defaultProvider"] = value; }
        }
    }
}
